/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hujia.profile.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/7/30 15:37
 */
@RequestMapping("/test")
@RestController
public class TestController {

    @RequestMapping(method = RequestMethod.GET)
    public String test() {
        return "hello test";
    }

    @RequestMapping(value = "/test2", method = RequestMethod.GET)
    public String test2() {
        return "test2";
    }

    @RequestMapping(value = "/test2/test3", method = RequestMethod.GET)
    public String test3() {
        return "test3";
    }
}
